<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Bootstrap 3, from LayoutIt!</title>

    <meta name="description" content="Source code generated using layoutit.com">
    <meta name="author" content="LayoutIt!">

    <%= stylesheet_link_tag 'bt3-css/bootstrap.min.css', media: 'all'%>
    <%= stylesheet_link_tag 'bt3-css/style.css', media: 'all'%>

  </head>
  <body>

    <div class="container-fluid">
	<div class="row">
		<div class="col-md-12">
		<%= form_tag movies_path, controller: :movies, method: :post, multipart: true do%>
		<div class="form-group">
					<label for="movieName">
						Movie Name
					</label>
					<%= text_field_tag :movieName, '', class: 'form-control' %>
					<!-- <input type="text" class="form-control" id="movieName" name="movieName"> -->
				</div>
				<div class="form-group">
					 
					<label for="priceStr">
						Price
					</label>
					<%= text_field_tag :priceStr, '', class: 'form-control' %>
					<!-- <input type="text" class="form-control" id="priceStr" name="priceStr"> -->
				</div>
				<div class="form-group">
					 
					<label for="priceStr">
						Description
					</label>
					<%= text_area_tag :description , '', class: 'form-control' %>
					<!-- <input type="text" class="form-control" id="description" name="description"> -->
				</div>
				<div class="form-group">
					 
					<label for="moviePic">
						Movie Picture
					</label>
					<%= file_field_tag :moviePic %>
					<!-- <input type="file" id="moviePic" name="moviePic"> -->
				</div>
				<button type="submit" class="btn btn-default">
					Submit
				</button>
		<% end %>
		<%#
		<form role="form" action="" method="post" enctype="multipart/form-data">
				<div class="form-group">
					<label for="movieName">
						Movie Name
					</label>
					<input type="text" class="form-control" id="movieName" name="movieName">
				</div>
				<div class="form-group">
					 
					<label for="priceStr">
						Price
					</label>
					<input type="text" class="form-control" id="priceStr" name="priceStr">
				</div>
				<div class="form-group">
					 
					<label for="priceStr">
						Description
					</label>
					<input type="text" class="form-control" id="description" name="description">
				</div>
				<div class="form-group">
					 
					<label for="moviePic">
						Movie Picture
					</label>
					<input type="file" id="moviePic" name="moviePic">
				</div>
				<button type="submit" class="btn btn-default">
					Submit
				</button>
			</form>
			%>

		</div>
	</div>
</div>

    <%= javascript_include_tag 'bt3-js/jquery.min.js' %>
	<%= javascript_include_tag 'bt3-js/bootstrap.min.js' %>
	<%= javascript_include_tag 'bt3-js/scripts.js' %>
  </body>
</html>